package br.com.projetoia.dama;

public class Position {

	private final int line;
	private final int column;

	public Position(int line, int column) {
		this.line = line;
		this.column = column;
	}

	public Position(Position position) {
		this.line = position.getLine();
		this.column = position.getColumn();
	}

	public int getLine() {
		return this.line;
	}

	public int getColumn() {
		return this.column;
	}

	@Override
	public String toString() {
		return "Position[line=" + this.line + ", column=" + this.column + "]";
	}
}
